<?php
/**
 * Created by XjHome.
 * User: xj
        * Date: 2015/3/29
    * Time: 0:48
    *
 */
namespace test;

use test\xj;

class ssss extends xj
{
    public function name($name)
    {
        $this->add($name);
    }


}

$s=new ssss();
$xj=$s->name('xj');
$s->display();